package com.zzptc.myk.myapplication.Bean;

import org.litepal.annotation.Column;
import org.litepal.crud.LitePalSupport;

public class Book extends LitePalSupport {
    int id;
    @Column(unique = true)
    String bookname;
    String authorname;
    int bookimg;

    public Book() {
    }

    public Book(int id, String bookname, String authorname, int bookimg) {
        this.id = id;
        this.bookname = bookname;
        this.authorname = authorname;
        this.bookimg = bookimg;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getBookname() {
        return bookname;
    }

    public void setBookname(String bookname) {
        this.bookname = bookname;
    }

    public String getAuthorname() {
        return authorname;
    }

    public void setAuthorname(String authorname) {
        this.authorname = authorname;
    }

    public int getBookimg() {
        return bookimg;
    }

    public void setBookimg(int bookimg) {
        this.bookimg = bookimg;
    }
}
